package cn.edu.scau.cmi.lvmingyan.Comprehensive_Experiment;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;

public class InputWindow extends Application {

	@Override
	public void start(Stage primaryStage) throws Exception {
		try {
	        
	    	AnchorPane root = (AnchorPane)FXMLLoader.load(getClass().getResource("main.fxml"));
	       Scene scene = new Scene(root);
	        primaryStage.setScene(scene);
	        primaryStage.setTitle("综合性实验");
	        primaryStage.show();
	    } catch(Exception e) {
	        e.printStackTrace();
	    }
	}
	
	public void paint() {
		launch();
	}
	
}

